16. Max-Min Problems

a. Local Minima, Local Maxima and Saddle Points

3. Second Derivative Test - Examples

Find all critical points of the function \(f(x,y)=5x^2-2x^3-xy^2+y^2\). Use the second derivative test to identify each as a local maxima, local minima or saddle or say the test fails.

To find the critical points, we compute the partial derivatives and set them equal to zero. \[\begin{aligned} f_x&=10x-6x^2-y^2=0 \\ f_y&=-2xy+2y=0 \end{aligned}\] We need to solve the two equations for the two unknowns, \(x\) and \(y\). They cannot be solved separately. They must be solved simultaneously by looking at cases. This is called case work. Since the \(f_y\) equation factors, we start with that equation: \[ -2y(x-1)=0 \] This tells us that either \(y=0\) or \(x=1\). These are the two cases:

Now that we have the four critical points, we use the second derivative test to classify each as a maximum, minimum, or saddle point. First, the second derivatives are: \[\begin{aligned} f_{xx}&=10-12x \\ f_{yy}&=-2x+2 \\ f_{xy}&=-2y \end{aligned}\] We make a table to keep track of all the values. There is no need to compute a separate formula for \(D=f_{xx}f_{yy}-{f_{xy}}^2\). We just do it as needed in the table.

\(x\) \(y\) \(f_{xx}\) \(f_{yy}\) \(f_{xy}\) \(D\) Classification
\(0\) \(0\) \(10\) \(2\) \(0\) \(20\) minimum
\(\dfrac{5}{3}\) \(0\) \(-10\) \(-\,\dfrac{4}{3}\) \(0\) \(\dfrac{40}{3}\) maximum
\(1\) \(2\) \(-2\) \(0\) \(-4\) \(-16\) saddle
\(1\) \(-2\) \(-2\) \(0\) \(4\) \(-16\) saddle

So \((0,0)\) is a local minimum, \(\left(\dfrac{5}{3},0\right)\) is a local maximum, while \((1,2)\) and \((1,-2)\) are saddle points.

Find all critical points of the function \(f(x,y)=x^3+2xy^2+3x^2+4y^2\). Use the second derivative test to identify each as a local maxima, local minima, or saddle or say the test fails.

There are two critical points: \((0,0)\) and \((-2,0)\).
\((0,0)\) is a local minimum.
For \((-2,0)\), the second derivative test fails.

To find the critical points, we compute the partial derivatives and set them equal to zero. \[\begin{aligned} f_x&=3x^2+2y^2+6x=0 \\ f_y&=4xy+8y=0 \end{aligned}\] We factor the \(f_y\) equation: \[ 4y(x+2)=0 \] which leads to two cases.

  • Case 1: \(y=0\): The \(f_x\) equation reduces to \(3x^2+6x=0\) which factors as \(3x(x+2)=0\) and has the solutions \(x=0\) and \(x=-2\). This leads to the two critical points \((0,0)\) and \((-2,0)\).
  • Case 2: \(x=-2\): The \(f_x\) equation reduces to \(2y^2=0\) which has the single solution \(y=0\). This leads to the same critical point \((-2,0)\).

So there are only two critical points, \((0,0)\) and \((-2,0)\). The second derivatives are: \[\begin{aligned} f_{xx}&=6x+6 \\ f_{yy}&=4x+8 \\ f_{xy}&=4y \end{aligned}\] We make a table to keep track of the values.

\(x\) \(y\) \(f_{xx}\) \(f_{yy}\) \(f_{xy}\) \(D\) Classification
\(0\) \(0\) \(6\) \(8\) \(0\) \(48\) minimum
\(-2\) \(0\) \(-6\) \(0\) \(0\) \(0\) test fails

So \((0,0)\) is a local minimum while for \((-2,0)\) the second derivative test fails.

© MYMathApps

Supported in part by NSF Grant #1123255